{if $intForm == 1 && $arrResult}    
    
    <table cellpadding="0" cellspacing="0" border="1" class="box-image">
    	<thead>
        	<tr>
            	<th colspan="4"><h3>Danh sách hình trong album ảnh</h3></th>
            </tr>
        </thead>
        <tbody>
            {foreach item=item key=key from=$arrResult}
                {if ($key%5)==4}
                    <tr>
                {/if}
                <td title="{$item.name}">
                	{if $intType == $smarty.const.EDUCATION_TYPE}
                   		{image type="education" path=$item.image size=2}                    
                    {/if}
                    {if ($smarty.session.slideshow&1<<3) > 0}  
                        <p align="center">< <a href="javascript:;" onclick="javascript:deleteImg({$item.imageid},{$item.albumid},{$intType})">Xóa hình</a> ></p>
                    {/if}
                </td>
                {if ($key%5)==4}
                    </tr>
                {/if}
            {/foreach}
        </tbody>
    </table>
       	
{/if} 